package com.mingqijia.gassafety.webserver.request.workorder.asst;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @program: gassafety
 * @description:
 * @author: Mr.Lao
 * @create: 2023-05-18 10:31
 **/
@Data
public class OrderCompleteRequest {
    @ApiModelProperty(value = "工单编号")
    @NotNull(message = "工单编号不能为空")
    private String orderNo;

    @ApiModelProperty(value = "完工结果")
    private String completeResult;

    @ApiModelProperty(value = "完成时间")
    private Date completedTime;

    @ApiModelProperty(value = "报警器设备表主键")
    private String deviceId;

    @ApiModelProperty(value = "安装位置")
    private String installPosition;

    @ApiModelProperty(value = "安装日期")
    private String installDate;

    @ApiModelProperty("订单id")
    private String orderId;

    /** 上门服务开始时间 */
    @ApiModelProperty("上门服务开始时间")
    private Date serviceBeginTime;

    /** 上门服务结束时间 */
    @ApiModelProperty("上门服务结束时间")
    private Date serviceEndTime;

    /** 服务人员 */
    @ApiModelProperty("服务人员")
    private String visitPerson;

    /** 联系电话 */
    @ApiModelProperty("联系电话")
    private String contact;

    /** 作业系统有该值时需要校验 **/
    @ApiModelProperty("作业系统：0:时刻助手 1:TCIS 2:新工单系统 3:师傅帮个忙 4:三商")
    private Integer workSystem;
}
